{% extends 'layout.html' %}

{% block content %}
    <div class="container-sm mt-5">
        <div class="row justify-content-center mt-5">
            <div class="col-12 col-md-5 col-xl-4 my-5">
                {% include 'alter.html' %}
                {% if current_user.is_authenticated %}
                    Hi {{ current_user.username }}!
                {% endif %}
                {% if current_user.is_admin %}
                    <br>管理员
                {% endif %}
                <div class="d-grid gap-2 mt-4">
                    <a class="btn btn-primary" href="{{ url_for('sign.logout') }}">登 出</a>
                </div>

            </div>
        </div>
    </div>

{% endblock %}



